-
Notifications
You must be signed in to change notification settings - Fork 292
CP-54020: Refactor sxm and storage_mux code #6378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP-54020: Refactor sxm and storage_mux code #6378
Conversation
9e042ba
to
544bbdd
Compare
544bbdd
to
7528ee4
Compare
I've provided a number of nitpicks (feel free to ignore), but I generally like the usage of modules to structure this nicely. |
I think some of these are good comments, I have fixed them accordingly. |
This split is so that this part can be used by storage_migrate later on for its own multiplexing logic, to avoid dependency cycle. Signed-off-by: Vincent Liu <shuntian.liu2@cloud.com>
This is then used later for storage_migrate to multiplex based on the SMAPI version. Signed-off-by: Vincent Liu <shuntian.liu2@cloud.com>
This will be used later on to define the interface a migration module should implement. Signed-off-by: Vincent Liu <shuntian.liu2@cloud.com>
19135d0
to
9bf0661
Compare
9bf0661
to
3017b94
Compare
I have changed the PR a bit with an additional change to the quality gate as well, let me know if there are any concerns around this |
43b4085
to
1a88a93
Compare
Signed-off-by: Vincent Liu <shuntian.liu2@cloud.com>
Use first class modules to generate modules for the remote SMAPIv2 calls to avoid code duplication. Signed-off-by: Vincent Liu <shuntian.liu2@cloud.com>
Signed-off-by: Vincent Liu <shuntian.liu2@cloud.com>
Signed-off-by: Vincent Liu <shuntian.liu2@cloud.com>
1a88a93
to
112ef69
Compare
There are various refactors in this PR, details in each commit message. This is mainly for clean up purposes and also to prepare for the real refactoring of sxm for SMAPIv1 and SMAPIv3.
No functional change.
More to come...